#coding:utf-8
import pandas as pd

file="file path"
TotalScore=pd.read_csv(file)
gradient = []

for a in range(len(TotalScore)):
    g = 1/TotalScore[a]
    gradient.append(g)
    
file1 = "file path(stoack value for the first month)"
c = pd.read_csv(file1)

finalp = []
for b in range(len(TotalScore)):
    finalp[b] = c[b]/2/gradient[b]